package com.settlement.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.entity.SysAccountingProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.form.AccountProjectForm;
import com.settlement.system.model.query.AccountingProjectPageQuery;
import com.settlement.system.model.vo.SysAccountingProjectVO;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 记账项目配置 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-09-08
 */
public interface SysAccountingProjectService extends IService<SysAccountingProject> {

    Page<SysAccountingProjectVO> getPage(AccountingProjectPageQuery queryParams);

    SysAccountingProject getListByAccountingProjectName(String platform, String accountingProject);

    boolean saveAccountingProject(AccountProjectForm accountProjectForm);

    SysAccountingProjectVO getSysAccountingProjectFormData(Long accountingProjectId);

    boolean deleteAccountingProject(String ids);

    Set<String> updateBatch(List<Map<String, String>> records, List<Map<String, String>> dataAccessoryList);

    List<SysAccountingProjectVO> getList(String ids);
}
